home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / cli / CheckModem.lha / CheckModem.doc < prev    next >
Encoding:
Text File  |  1998-10-04  |  2.4 KB  |  84 lines

  1.          =========================================================
  2.            $VER: CheckModem 1.3 (30.9.98)  Copyright (c) Nils Görs
  3.          =========================================================
  4.  
  5. it's a program to check the status from a connected modem out of an Arexx-
  6. or an Shell-Script.
  7.  
  8.  
  9.  
  10. COPYRIGHT NOTICE
  11.  
  12.    This program is Copyright (c) 1996 Nils Görs, all rights reserved.
  13. You may however freely use it and give copies to your friends, as long as
  14. you don't add data to or remove data from the distribution archive. You may
  15. *NOT* include any part of the distribution archive in a commercial software
  16. package, without my permission. If you have comments or suggestions, feel
  17. free to contact me. Use PGP-encrypted Email when possible, you can find my
  18. public key at the end of this file.
  19.  
  20.         Nils Görs              Email: N.Goers@Art-Line.de
  21.         Kaiserstr.97a
  22.         42329 Wuppertal
  23.         Germany
  24.  
  25.  
  26.  
  27. TEMPLATE
  28.    DEVICENAME/A        for example: artser.device
  29.  
  30.    UNIT/A/N        Unitnumber
  31.  
  32.    WARN/S        always returns WARN as maximum returncode if an error occurs.
  33.  
  34.  
  35.  
  36. RETURNCODES
  37.  
  38. RETURN_OK      = 0   (Modem ON)
  39. RETURN_WARN    = 5   (Modem OFF)
  40. RETURN_ERROR   = 10  (Device is busy)
  41. RETURN_FAIL    = 20  (something wrong)
  42.  
  43.  
  44.  
  45. EXAMPLE (from my User-Startup)
  46.  
  47.   CheckModem artser.device 0
  48. if warn
  49.    echo "Modem off"
  50. else
  51.   echo "Modem on, starting voicerecorder!"
  52.   SYS:Dfue/ZVT/Start_ZVT
  53. endif
  54.  
  55.  
  56.  
  57. HISTORY
  58.  
  59. 1.0 (??.??.94) --- internal Version ---
  60.                till an request from one User in /Z-NETZ/RECHNER/AMIGA/SOFTWARE
  61.  
  62. 1.1 (17.9.96)  Error in Template fixed       (=> Jörg Strohmayer)
  63.                recognized of MultiIO cards   (=> Norbert Dimpfl)
  64.                more efficient error-handling (=> Nils Görs;-)
  65.  
  66. 1.2 (8.9.98)   problems fixed when parallele port was in use.
  67.            (but i don't know if it's still work correctly with
  68.         MultiIO-cards!)
  69.  
  70. 1.3 (30.9.98)  WARN/S switch implemented     (=> Robert Wilson)
  71.  
  72. -----BEGIN PGP PUBLIC KEY BLOCK-----
  73. Version: 2.6.3i
  74.  
  75. mQBNAi+MXhYAAAECAMgnLoI79hQT1HEqBMTcH4eIRjebkMF4fi3zdRgsMG+fXPMz
  76. DqTMqkJ8CGjfCN4DpFbMcXzjXSNChAKRgNkA6QUABRG0IE5pbHMgR29lcnMgPE4u
  77. R29lcnNAQXJ0LUxpbmUuZGU+iQBVAwUQMcryKoQCkYDZAOkFAQHrigH/aVSvDE3f
  78. fcJxHhk0azTW+A/Xvx8xwYpgTsUHvnDLcL9t0oKLUukJ+JmivZi1Unefqc4UjTNn
  79. ft/oRNlgGwH2pbQpTmlscyBHb2VycyA8Ti5Hb2Vyc0BBcnQtTGluZS5hcnQtbGlu
  80. ZS5kZT6JAFUCBRAvjF52hAKRgNkA6QUBARJwAgCftsE56RsbsY+gt23I1XxtoQdc
  81. BbASzy2X7vjTHDkX1oQ9UX5b/tM8TFeiXknmDHc3G3VsVJurLcC9HVoOryZ4
  82. =8DS7
  83. -----END PGP PUBLIC KEY BLOCK-----
  84.